import { createApp } from "vue";
import store from "../store/index";

import {
    Tabbar,
    TabbarItem,
    ConfigProvider,
    Cell,
    CellGroup,
    Icon,
    Swipe,
    SwipeItem,
    Sticky,
    Tab,
    Tabs,
    Button,
    Search,
    List,
    NavBar,
    Popup,
} from "vant";
import App from "./App.vue";
import router from "../router/index";
const Application = createApp(App);
Application.use(router); //引入router
Application.use(store); //引入vuex
//引入组件
Application.use(Tabbar);
Application.use(Button);
Application.use(TabbarItem);
Application.use(ConfigProvider);
Application.use(CellGroup);
Application.use(Cell);
Application.use(Icon);
Application.use(Swipe);
Application.use(SwipeItem);
Application.use(Sticky);
Application.use(Tab);
Application.use(Tabs);
Application.use(Search);
Application.use(List);
Application.use(NavBar);
Application.use(Popup);
Application.mount("#app");